.popup-box {
  position: relative;
}

.detail-bottom {
  height: 100%;
  display: flex;
  font-size: 32px;
  align-items: center;
  background-color: #fdfbfb;
  /*border-top: 1px solid #f5f5f9;*/
  z-index: 3;
}

.detail-bottom-icon {
  height: 100%;
  width: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.am-badge-text {
  height: 28px;
  line-height: 28px;
  font-size: 20px;
}

.border-right {
  border-right: 2px solid #f5f5f9;
}

.detail-bottom-button {
  display: inline-block;
  width: 35%;
  text-align: center;
  height: 100%;
  line-height: 100px;
}

.add {
  color: #0a0a0a;
  background-color: #ffd6c7;
}

.buy {
  color: white;
  background-color: #f44;
}

.main-goods-box {
  padding: 24px;
  color: #333;
}

.close-popup {
  width: 84px;
  height: 104px;
  position: absolute;
  right: 0;
  top: 0;
  font-size: 60px;
  font-weight: lighter;
  text-align: center;
  z-index: 5;
}

.goods-box {
  width: 100%;
  height: 100%;
  background-color: #fff;
  position: relative;
  padding-top: 190px;
}

.goods-info {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
}

.goods-info Image {
  width: 100%;
  height: 100%;
}

.goods-info .left {
  width: 160px;
  height: 160px;
  overflow: hidden;
}

.goods-info .mid {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-end;
  height:  160px;
  margin-left: 20px;
}

.goods-info .right {
  display: flex;
  align-items: flex-end;
  width: 80px;
  text-align: right;
  font-size: 20px;
  line-height: 30px;
  color: #999;
  margin-left:  20px;
  white-space: nowrap;
}

.goods_price {
  height: 40px;
  line-height: 40px;
  font-size: 34px;
  font-weight: 500;
}

.selected-type {
  width: 100%;
  max-height: 64px;
  line-height: 32px;
  font-size: 22px;
  margin-top: 4px;
  overflow: hidden;
}

.goods_type {
  padding: 32px 0;
  position: relative;
}

.goods_type .ul .li .dl {
  width: 100%;
  display: block;
  overflow: auto;
}

.dl {
  margin-bottom: 30px;
}

.dl .spec-red {
  border: 2px solid red;
  color: red;
}

.dl .spec-gray {
  border: 2px solid #989898;
  color: #989898;
}

.dd {
  display: block;
  float: left;
  margin-top: 16px;
  margin-right:  16px;
  padding: 8px 20px;
  border: 2px solid #333;
  font-size: 24px;
  line-height: 24px;
  transition: all .2s;
  box-sizing: content-box;
}

.goods_type:after {
  position: absolute;
  display: block;
  background: #eee;
  content: "";
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: scaleY(.5);
}

.type-title {
  width: 100%;
  font-size: 24px;
  line-height: 32px;
  height: 32px;
}

.edit-product {
  display: block;
  padding-top: 30px;
  overflow: hidden;
  position: relative;
  line-height: 56px;
}

.edit-product-text {
  float: left;
  font-size: 28px;
  color: #2c2f34;
}

.edit-product-count {
  overflow: hidden;
  float: right;
}

.confirm-footer {
  //position: fixed;;
  bottom: 0;
  width: 100%;
  height: 100px;
}